//
//  BillRootViewController.swift
//  KaMengApplication
//
//  Created by DUONIU_MAC on 2018/11/23.
//  Copyright © 2018年 DUONIU_MAC. All rights reserved.
//

import UIKit

class BillRootViewController: KMViewController {
    
    /// 状态栏颜色
    override var preferredStatusBarStyle: UIStatusBarStyle {
        return .default
    }

    override func viewDidLoad() {
        super.viewDidLoad()

        self.navigationController?.navigationBar.shadowImage = UIImage()
        
        //修改返回按钮图片
        self.navigationController?.navigationBar.backIndicatorImage = #imageLiteral(resourceName: "back_arrow")
        self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = #imageLiteral(resourceName: "back_arrow")
        //修改返回按钮文字
        self.navigationItem.backBarButtonItem = UIBarButtonItem.init(title: "", style: .plain, target: nil, action: nil)
        
        //导航栏背景颜色
        self.navigationController?.navigationBar.barTintColor = UIColor.white
        
        //返回按钮颜色
        self.navigationController?.navigationBar.tintColor = UIColor.red
        
        //字体设置
        self.navigationController?.navigationBar.titleTextAttributes = [NSAttributedStringKey.foregroundColor : UIColor.black,NSAttributedStringKey.font : UIFont.systemFont(ofSize: RATIO(maxNum: 20))]
        
        
    }

}
